package cn.itsource.order.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;
import cn.itsource.order.domain.Product;
import java.util.List;


public interface ProductMapper extends Mapper<Product> {

    @Update("update t_product set state = #{state} where id = #{id}")
    int onOff(Long id,Long state);

	
}